package com.sz.youban.dt.entity.idcard;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

/**
 * <p>
 * 身份证信息
 * </p>
 *
 * @author huiquan
 * @since 2017-06-05
 */
@TableName("dt_card_id_info")
public class DtCardIdInfo extends Model<DtCardIdInfo> {

    private static final long serialVersionUID = 1L;

	@TableId(value="id", type= IdType.AUTO)
	private Integer id;
    /**
     * 身份证号
     */
	@TableField("card_id")
	private String cardId;
    /**
     * 真实姓名
     */
	@TableField("real_name")
	private String realName;
    /**
     * 性别：M：男性 ， F：女性，O：其他
     */
	private String sex;
    /**
     * 出生日期
     */
	@TableField("birthday")
	private Date birthday;
    /**
     * 是否人脸识别成功：0：否，1：是
     */
	@TableField("is_face_check")
	private Integer isFaceCheck;
    /**
     * 身份证地址
     */
	private String address;
    /**
     * 时间戳
     */
	private Date tsp;


	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getCardId() {
		return cardId;
	}

	public void setCardId(String cardId) {
		this.cardId = cardId;
	}

	public String getRealName() {
		return realName;
	}

	public void setRealName(String realName) {
		this.realName = realName;
	}

	public String getSex() {
		return sex;
	}

	public void setSex(String sex) {
		this.sex = sex;
	}

	public Date getBirthday() {
		return birthday;
	}

	public void setBirthday(Date birthday) {
		this.birthday = birthday;
	}

	public Integer getIsFaceCheck() {
		return isFaceCheck;
	}

	public void setIsFaceCheck(Integer isFaceCheck) {
		this.isFaceCheck = isFaceCheck;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public Date getTsp() {
		return tsp;
	}

	public void setTsp(Date tsp) {
		this.tsp = tsp;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

}
